/*
 * @Date: 2021-11-30 15:42:07
 * @LastEditors: 邓春宜
 * @Desc: 
 * @LastEditTime: 2022-05-24 16:09:48
 * @FilePath: \web\src\component\index.js
 */
import Header from "./header/index";
import Layout from "./layout/index";
import Footer from "./footer/index";
import Quick from "./quick/index";
import Count from "./count/index";
import Table from './table/index';
import TableChart from './tableChart/index';
import Query from './query/index';
import Icon from './icon/index';
import IconPicker from './iconPicker/index';
import Demo from './demo/index'
import Authority from './authority/index' 
import Dictionary from './dictionary/index'
import File from './file/index'
import Sheet from './sheet/index'


const components = [
    Footer,Header,Layout, Quick, Count,Table,TableChart, Query, Icon, IconPicker, Demo, Authority,Dictionary,File,Sheet
];

const install = function (Vue) {
    if (install.installed) return
    components.map(component => Vue.component(component.name, component))
}

export default {
    install,
    Footer, Header, Layout, Quick, Count, Table, TableChart,Query, Icon, IconPicker, Demo,Authority,Dictionary,File,Sheet
}
